<template>
  <view class="page">
    <text>科室全部医生页面</text>
    <text>医院ID: {{ hospitalId }}</text>
    <text>科室名称: {{ departmentName }}</text>
  </view>
</template>

<script>
export default {
  data() {
    return {
      hospitalId: '',
      departmentName: '',
    };
  },
  onLoad(options) {
    this.hospitalId = options.hospitalId || '未知';
    this.departmentName = options.departmentName || '未知科室';
  },
};
</script>

<style scoped>
.page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 32rpx;
  color: #333;
}
</style>
